package com.hsd.znsh.pojo.query;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/*
 * @auther: wangjiacai
 *
 * @create: 2018-05-02 11:25:29
 */
@Data
public class SensorInfoQuery {

    @NotBlank(message = "传感器编号不能为空")
    private String sensorSn;

    @NotNull(message = "间隔时间不能为空")
    private Integer intervals;

    @NotNull(message = "总时间不能为空")
    private Integer totalTime;

    private Integer bh;
}
